package net.wenku8.reader.view

import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Favorite
import androidx.compose.material.icons.filled.FavoriteBorder
import androidx.compose.material.icons.filled.MailOutline
import androidx.compose.material.icons.filled.Person
import androidx.compose.material.icons.filled.Search
import androidx.compose.material.icons.filled.Star
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.lifecycle.ViewModel

class HomeViewModel : ViewModel() {

    var index by mutableStateOf(PageTab.BOOKCASE)

}

enum class PageTab(
    val label: String,
    val icon: ImageVector,
) {
    BOOKCASE("书架", Icons.Filled.FavoriteBorder),
    FILE("文件", Icons.Filled.MailOutline),
    SEARCH("搜索", Icons.Filled.Search),
    USER("用户", Icons.Filled.Person),
}
